package org.millioncall.yueyoga.admin.model;

import org.millioncall.yueyoga.admin.model.base.BaseAuthority;

public class Authority extends BaseAuthority implements java.io.Serializable {
	private static final long serialVersionUID = 2957061325473767707L;
	
	private String zymc;  //资源名称
	public Authority() {
	}

	public Authority(String name, Boolean enabled) {
		super(name, enabled);
	}

	public boolean isAuthorityEnabled() {
		return this.getEnabled().booleanValue();
	}

	public String getZymc() {
		return zymc;
	}

	public void setZymc(String zymc) {
		this.zymc = zymc;
	}
}
